#!/bin/bash
#PBS -N dgemm
#PBS -l select=1:ncpus=12:mpiprocs=1:mem=23gb:gpu=fermi
#PBS -l place=scatter:excl
#PBS -l walltime=00:59:00
#PBS -q feed@eiger170

. /etc/profile.d/modules.bash

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/eiger/gotoblas2/1.13/gnu_432/lib/omp1threads1
export CSCSBLAS_USE_GPU=1
export CSCSBLAS_DEBUG=1
export OMP_NUM_THREADS=6
export GOTO_NUM_THREADS=1

module load cuda

cd /change/this/to/path/where/t3/resides

./t3 10000   # if no argument, the default 15000 is taken

#for ((i=512; i<15360; i=i+512));do ./t3 $i;done

